package com.c2soft.ncmx.exch.pojo;

import java.util.ArrayList;
import java.util.List;

public class OrderBook {

	private long totalQuantity;
	
	List<OrderBookEntry> orderBookList;

	public long getTotalQuantity() {
		return totalQuantity;
	}

	public void setTotalQuantity(long totalQuantity) {
		this.totalQuantity = totalQuantity;
	}

	public List<OrderBookEntry> createOrderBookList() {
			return new ArrayList<OrderBookEntry>();
	}
	
	public List<OrderBookEntry> getOrderBookList() {
		return orderBookList;
	}

	public void setOrderBookList(List<OrderBookEntry> orderBook) {
		this.orderBookList = orderBook;
	}
	
	public void addElementOrderBookList(OrderBookEntry order) {
		this.orderBookList.add(order);
	}

	public void set(int index, OrderBookEntry bookEntry) {
		// TODO Auto-generated method stub
		
	}
	
}
